Skip to content

Conversation

androbwebb
Copy link

No description provided.

@@ -16,6 +16,61 @@ if (!SPONSORSHIP_POLICY_ID) {
throw new Error("NEXT_PUBLIC_ALCHEMY_POLICY_ID is not set");
}

const CHAIN_ID = process.env.NEXT_PUBLIC_CHAIN_ID || "abitrumSepolia";

const allChains = {
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't love this. But @account-key/infra doesn't offer the ARB_SEPOLIA/ETH -style identifiers. The options are:

  1. Internal Alchemy numeric IDs
  2. Full text names, Arbitrum Sepolia, Mainnet
  3. These variable names
  4. These variable names, run through a to_snake_case method, although they still wouldn't match the other identifier style.

I would be fine with 3 or 4, I went with 3 for now, but open to thoughts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant